package com.lagou.service.impl;

import com.lagou.service.MonitorService;

public class MonitorServiceImpl implements MonitorService {
    @Override
    public void methodA() {
        int x=1+(int)(Math.random()*100);
        try {
            Thread.sleep(x);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
